package com.lyfam.annotation.builder;

import java.util.Map;

import com.vaadin.ui.Field;

public interface FieldBuilder
{
    public Map<String, Field> getFields();
    public Field getField(String fieldName);
    public Field createField(String fieldName, FieldCreator fieldCreator);
    public Field createField(String fieldName, Field field);
    
    public interface FieldCreator
    {
        public Field getField();
    }
}